﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NUnit_Sample_1
{
    class ComplexNumber
    {

        private int _img;
        private int _real;

        public ComplexNumber(int img, int real)
        {
            _img = img;
            _real = real;
        }

        /// <summary>
        /// So sánh hai số phức có bằng nhau không
        /// </summary>
        /// <param name="num"></param>
        /// <returns></returns>
        public bool Equal(ComplexNumber num)
        {
            return _img == num._img && _real == num._real;
        }

        public ComplexNumber Add(ComplexNumber num)
        {
            return num;
        }

        public ComplexNumber Sub(ComplexNumber num)
        {
            return num;
        }
    }
}
